//
//  TPPlayerContainerView.h
//  Tripvi
//
//  Created by xiaowuxiaowu on 2017/5/22.
//  Copyright © 2017年 xiaowuxiaowu. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TPPlayerContainerViewDelegate <NSObject>

@optional
- (void)tp_playerCurrentTime:(NSInteger)currentTime totalTime:(NSInteger)totalTime sliderValue:(CGFloat)value;
@end

@interface TPPlayerContainerView : UIView
@property (nonatomic,strong)UIImage *backImage;//返回图片

@property (nonatomic,assign)BOOL isHiderControlView;//是不是始终隐藏控制程

@property (nonatomic,assign)BOOL isHiderTopView;//隐藏顶部
/** 占位图 */
@property (nonatomic, strong) UIImageView             *placeholderImageView;


@property (nonatomic,weak)id <TPPlayerContainerViewDelegate> tpDelegate;


-(void)hideControlView;
-(void)repeatPlay; //重播

@end
